<?php
/*
Template type: list
Template name: 列表模板
*/
require_once('header.php');
?>
<table class="columns">
  <tbody><tr>
    <td class="left">
<div class="box">
<div class="body">
<?php current_sub_menu_list(); ?>
</div>
</div>
	</td>
    <td class="main">
<?php

if (params(1) == 'post') {
    show_post();
} else {
    get_category_and_posts_list();
}
?>
	</td>
  </tr>
</tbody></table>
<?php require_once('footer.php'); ?>
